package com.lbs.jiepiaisi.bean;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 时间：2018/1/11 12:11
 * 作用：
 */

public class LocationBean implements Serializable {

    private String  infocode;
    private int status;
    private String info;

    private RegeoCoder regeocode;


    public static class RegeoCoder  implements Serializable{
        private String formatted_address;
        private AddressComponent addressComponent;

        public String getFormatted_address() {
            return formatted_address;
        }

        public void setFormatted_address(String formatted_address) {
            this.formatted_address = formatted_address;
        }

        public AddressComponent getAddressComponent() {
            return addressComponent;
        }

        public void setAddressComponent(AddressComponent addressComponent) {
            this.addressComponent = addressComponent;
        }

        public static class AddressComponent implements Serializable{
            private List<BusinessArea> businessAreas;

            private String country;
            private String province;
            private String citycode;
            private String city;
            private String adcode;
            private String towncode;
            private String district;
            private String township;

            public List<BusinessArea> getBusinessAreas() {
                return businessAreas;
            }

            public void setBusinessAreas(List<BusinessArea> businessAreas) {
                this.businessAreas = businessAreas;
            }

            public static class BusinessArea  implements Serializable{
                private String name;
                private String id;
                private String location;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getLocation() {
                    return location;
                }

                public void setLocation(String location) {
                    this.location = location;
                }
            }

            public String getCountry() {
                return country;
            }

            public void setCountry(String country) {
                this.country = country;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getCitycode() {
                return citycode;
            }

            public void setCitycode(String citycode) {
                this.citycode = citycode;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getAdcode() {
                return adcode;
            }

            public void setAdcode(String adcode) {
                this.adcode = adcode;
            }

            public String getTowncode() {
                return towncode;
            }

            public void setTowncode(String towncode) {
                this.towncode = towncode;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getTownship() {
                return township;
            }

            public void setTownship(String township) {
                this.township = township;
            }


        }



    }

    public String getInfocode() {
        return infocode;
    }

    public void setInfocode(String infocode) {
        this.infocode = infocode;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public RegeoCoder getRegeocode() {
        return regeocode;
    }

    public void setRegeocode(RegeoCoder regeocode) {
        this.regeocode = regeocode;
    }
}
